/*
 Navicat Premium Data Transfer

 Source Server         : ZCDEEPSEAI
 Source Server Type    : SQL Server
 Source Server Version : 16001000 (16.00.1000)
 Source Host           : ZCDEEPSEAI:1433
 Source Catalog        : LargeSquareOne
 Source Schema         : dbo

 Target Server Type    : SQL Server
 Target Server Version : 16001000 (16.00.1000)
 File Encoding         : 65001

 Date: 24/07/2025 17:25:48
*/


-- ----------------------------
-- Table structure for BGearEntity
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[BGearEntity]') AND type IN ('U'))
	DROP TABLE [dbo].[BGearEntity]
GO

CREATE TABLE [dbo].[BGearEntity] (
  [TestTime] datetime  NULL,
  [CSBYHASCANNINGTIME] datetime  NULL,
  [UpState] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [Result] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCD1] int  NULL,
  [CCD2] int  NULL,
  [CCD3] int  NULL,
  [CCD4] int  NULL,
  [CCD5] int  NULL,
  [CCD6] int  NULL,
  [CCD7] int  NULL,
  [CCD8] int  NULL,
  [CCD9] int  NULL,
  [CCD10] int  NULL,
  [CCD11] int  NULL,
  [CCD12] int  NULL,
  [CCD13] int  NULL,
  [CCD14] int  NULL,
  [CCD15] int  NULL,
  [CCD16] int  NULL,
  [CCD17] int  NULL,
  [CCD18] int  NULL,
  [CCD19] int  NULL,
  [CCD20] int  NULL,
  [CCD21] int  NULL,
  [CCD22] int  NULL,
  [CCD23] int  NULL,
  [CCD24] int  NULL,
  [CCD25] int  NULL,
  [CCD26] int  NULL,
  [CCD27] int  NULL,
  [Thickness1] float(53)  NULL,
  [Thickness2] float(53)  NULL,
  [Thickness3] float(53)  NULL,
  [CCDResult1] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult2] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult3] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult4] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult5] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult6] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult7] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult8] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult9] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult10] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult11] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult12] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult13] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult14] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult15] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult16] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult17] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult18] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult19] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult20] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult21] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult22] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult23] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult24] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult25] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult26] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CCDResult27] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CSBYHCODEA] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CSBYHOUTSTATIONJUDGMENTRESULT] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CSBYHPROCESSNAME] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CSBYHSCHEDULE] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CSBYHINSTATIONTIME] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [CSBYHOUTSTATIONTIME] varchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [RethrowNum] int  NULL,
  [Flag] int  NULL,
  [Remark] varchar(200) COLLATE Chinese_PRC_CI_AS  NULL
)
GO

ALTER TABLE [dbo].[BGearEntity] SET (LOCK_ESCALATION = TABLE)
GO

EXEC sp_addextendedproperty
'MS_Description', N'时间',
'SCHEMA', N'dbo',
'TABLE', N'BGearEntity',
'COLUMN', N'TestTime'
GO

EXEC sp_addextendedproperty
'MS_Description', N'RFID托杯码',
'SCHEMA', N'dbo',
'TABLE', N'BGearEntity',
'COLUMN', N'Result'
GO

EXEC sp_addextendedproperty
'MS_Description', N'焊接时间',
'SCHEMA', N'dbo',
'TABLE', N'BGearEntity',
'COLUMN', N'CSBYHCODEA'
GO

EXEC sp_addextendedproperty
'MS_Description', N'状态',
'SCHEMA', N'dbo',
'TABLE', N'BGearEntity',
'COLUMN', N'Flag'
GO

